

<!--搜索条件-->
<div class="row">
    <form class="mt20" role="form">
        <div class="row">
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="input-group">
                    <span class="input-group-addon">开始时间</span>
                    <input def-laydate type="text" class="form-control" ng-model="safety.startDate"  id="startDate"  placeholder="" />
                </div>
            </div>
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="input-group">
                    <span class="input-group-addon">结束时间</span>
                    <input def-laydate type="text" class="form-control" ng-model="safety.endDate"  id="endDate"  placeholder="" />
                </div>
            </div>
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="input-group">
                    <span class="input-group-addon">短信内容</span>
                    <input type="text" class="form-control" ng-model="safety.queryVal" placeholder="">
                </div>
            </div>
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3 ">

                    <button class="btn btnCustom pull-right" type="button" ng-click="search()"><i class="icon-search" style="margin-right:2px;"></i>搜索</button>


            </div>

        </div>


    </form>

</div>
<!--表格内容-->
<div class="row mt20">

    <div class="table-responsive">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th width="5%">序号</th>
                <th width="20%">接收人</th>
                <th width="60%">短信内容</th>
                <th>发送时间</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="his in sendHistory | orderBy:'-RowNumber'">
                <td>{{$index + 1}}</td>
                <td>{{his.Receivers}}</td>
                <td>{{his.SmsInfo}}</td>
                <td>{{his.AchievedDate | date:'yyyy-MM-dd'}}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<!--分页与操作信息-->
<div class="row">
    <div class="col-lg-8 col-sm-7 col-md-7 col-xs-4">
        <p style="margin-top:6px;">共计 [ <b class="red" ng-cloak>{{totalRows}}</b> ] 条记录</p>
    </div>
    <div class="col-lg-3 col-sm-6 col-md-4 col-xs-6">
        <div class="row">
            <div ng-show="totalItems > rows">
                <uib-pagination class="pagination PagingCustom pull-right"
                                items-per-page="rows"
                                ng-model="currentPage"
                                total-items="totalItems"
                                max-size="maxSize"
                                ng-change="pageChanged()"
                                boundary-links="false"
                                boundary-link-numbers="true"
                                rotate="false"
                                force-ellipses="true"
                                previous-text="‹"
                                next-text="›">
                </uib-pagination>
            </div>
        </div>
    </div>
</div>